$OpenBSD: patch-lib_phusion_passenger_native_support_rb,v 1.3 2015/07/26 01:31:39 jeremy Exp $

Remove arch-specific path.

--- lib/phusion_passenger/native_support.rb.orig	Sat Jul 18 20:39:36 2015
+++ lib/phusion_passenger/native_support.rb	Sat Jul 18 20:42:59 2015
@@ -34,7 +34,6 @@ module PhusionPassenger
       if defined?(NativeSupport)
         return true
       else
-        load_from_native_support_output_dir ||
         load_from_buildout_dir ||
         load_from_load_path ||
         load_from_home_dir
@@ -98,7 +97,7 @@ module PhusionPassenger
     def load_from_buildout_dir
       if PhusionPassenger.build_system_dir
         begin
-          return load_native_extension("#{PhusionPassenger.build_system_dir}/buildout/ruby/#{archdir}/#{library_name}")
+          return load_native_extension("#{PhusionPassenger.build_system_dir}/buildout/#{library_name}")
         rescue LoadError
           return false
         end
